package pers.fulsun.demo.springcloud.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import pers.fulsun.demo.springcloud.entity.SysDataDictionary;
import pers.fulsun.demo.springcloud.mapper.SysDataDictionaryMapper;
import pers.fulsun.demo.springcloud.service.SysDataDictionaryService;

import java.util.List;

@Service
public class SysDataDictionaryServiceImpl extends ServiceImpl<SysDataDictionaryMapper, SysDataDictionary> implements SysDataDictionaryService {
    @Override
    public List<SysDataDictionary> scanDataTable(String database) {
        return this.baseMapper.scanDataTable(database);
    }
    @Override
    public List<SysDataDictionary> scanDataTable(String database, String table) {
        return this.baseMapper.scanDataTableOf(database, table);
    }
}